data format


Answer

A database with the CBF format used in earlier versions of the ChessBase and Fritz programs consisted simply of two files with the extensions *.cbf und *.cbi. Handling them was thus relatively simple, if, e.g., you wanted to pass on a database to someone. The disadvantage of the CBH data format was that apart from the notation and the identifying data all that could be saved consisted of text, variations + sub-variations.

The advantages of the present CBH format are significant: in addition to variations and text you can save diverse multi-media components. Coloured display on the chess board, embedded graphics, sound, videos, embedded training questions in the notation or the support for various languages – all of these considerably extend the functionality of ChessBase and Fritz.

A further advantage of the CBH data format: you are able to make use of lengthy names for a database, e.g. “My best games”.

A database in CBH format is composed of several files.

If you wish to pass on or send a database, it is therefore not sufficient to copy simply the file with the extension *.CBH. To help with the understanding of this let us consider the most important individual files which make up a database in the CBH format.

Data structure

Unlike other data formats, e.g. the PGN format, a database in CBH format is made up of several different files. To better understand the structure of a database let us take a look at the significance of the most important files in a database:

  1. CBH= the identifying data for a game, e.g. players, tournament, etc.
  2. CBG= moves and variations
  3. CBA= comments
    If the file with the extension *.cba is deleted, all the annotations to the games in the database are lost.
  4. CBP= player index
  5. CBT= tournament index
  6. CBC= index of annotators
  7. CBS= index of sources
  8. CBB= search booster
  9. CBD= hash file of doubles
  10. CKO/CPO= the openings key for the database is stored in these two files
  11. CKN/CPN= general themes key
  12. CK1/CP1= tactics key
  13. CK2/CP2= strategy key
  14. CK3/CP3= endgame key

Perhaps you have read all this so far and are wondering whether it is really necessary to know the significance of each individual file? No, since we have of course thought of how to make the handling of a database as simple as possible for the user.


Transporting databases!

Suppose you want to copy to a disk your database called My games and transfer it to your notebook. In ChessBase there is a simple way to bring together all the files in a database into a single file with the file extension *.CBV. To do so you proceed as follows:

  1. Highlight the database in the database window.
  2. Use the key combination CTRL-Z or after right-clicking on the context menu under TOOLS choose the function Backup database.

The dialog box “Archive database” appears. Now you even have the possibility to encrypt your data.

This would, e.g., be appropriate when sending a database over the internet. But since we only want to copy the database to a disk or stick, we simply choose the option “Uncrypted”. Now all you have to do is in the standard dialog “Save as” choose the pathway for where the compressed database is to be saved, e.g. on a USB stick.

The procedure functions similarly simply with Fritz & Co. In the database window of Fritz you first choose the database to be compressed. Then from the File menu you select the entry “Archive database” or in the toolbar of the database window you click on the icon.

The compressed databases with the extension *.CBV are the ideal solution whenever you want to send a database via the internet or to save your databases in a way which saves space and gives a simple overview of what you have.


Sending a CBV database by e-mail   ChessBase offers you a very easy way to compose e-mails with a compressed CBV database as an appendix. A right click on a database in the Database window calls up the context menu. In it you will find the entry “E-Mail selected database”. If you activate this function, ChessBase automatically starts your e-mail program and inserts the previously chosen database in compressed CBV format! All you have to do is enter the address to which to send it and you do not have to worry any more about the compression of the database!

 

 

 

 

 

Tags
Created on
15.06.2018
Rating
Feedback

Back to List